import service from '@/utils/request'

/**
 * 登录接口
 * @param data
 * @returns 
 */
export const useLoginApi = (data: any) => {
	return service.post('/login', data)
}

export const useLogoutApi = () => {
	return service.post('/data/success.json')
}
